package com.easy.frame.servers.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.frame.base.api.pojo.BasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author zzf
 * @since 2020-07-20
 */
@Getter
@Setter
@TableName("sys_enterprise")
@ApiModel("公司表")
public class SysEnterprise extends BasePO {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "企业名", dataType = "String")
    private String name;

    @ApiModelProperty(value = "过期时间", dataType = "Date")
    private LocalDateTime expireTime;

}
